import request from '@/utils/request'

// 获取快递公司列表
export function getDeliveryCompanyList(data) {
  return request({
    url: '/api/delivery/getDeliveryList',
    method: 'get',
    params: data
  })
}

// 获取快递公司详情
export function getDeliveryCompanyDetail(data) {
    return request({
      url: '/api/delivery/getInfo',
      method: 'get',
      params: data
    })
}

// 获取用户使用过的快递公司
export function getDeliveryHistory(data) {
    return request({
      url: '/api/UserDeliveryLog/getUsedDeliveryList',
      method: 'get',
      params: data
    })
}
